package com.qzsoft.zhjd.materiel.modules.materieldatarecive.service;

import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.materiel.modules.materieldatarecive.dto.MaterielReceiveForCategoryDto;
import com.qzsoft.zhjd.materiel.modules.materieldatarecive.dto.MaterielReceiveForItemDto;


/**
 * @ClassName MaterielDataReceiveService
 * @Description 收料数据业务接口
 * @author linhuawei
 * @since 2022-03-31
 */
public interface MaterielDataReceiveService {

    /**
     * @Title exportBook
     * @Description 导出台账
     * @param params   查询条件
     * @param response
     */
    public void exportBook(Map<String, Object> params, HttpServletResponse response);

    /**
     * @Title countForCategory
     * @Description 按照材料分类统计收料情况
     * @param params 查询条件
     * @return 按照材料分类统计收料情况
     */
    public IPage<MaterielReceiveForCategoryDto> countForCategory(Map<String, Object> params);

    /**
     * @Title countForItem
     * @Description 按照材料明细统计收料情况
     * @param params 查询条件
     * @return 按照材料明细统计收料情况
     */
    public IPage<MaterielReceiveForItemDto> countForItem(Map<String, Object> params);

    /**
     * @Title countExport
     * @Description 导出汇总分析
     * @param params 查询条件
     * @param response
     */
    public void countExport(Map<String, Object> params, HttpServletResponse response);

}
